<html>
<head><title>click事件</title></head>
<body>
  <form name = button>
  <input type = "button" value = "上一页" onClick = "history.back()">
  <input type = "button" value = "新浪网" onClick = "location =
  'http://www.sina.com'">
  <input type = "button" value = "下一页" onClick = 
  "history.forward()">
  </form>
</body>
</html>
